package cn.laixueit.dao;

import cn.laixueit.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository /*bean*/
/*标识 我们dao层的*/
public class StudentDaoImpl2 {

    @Autowired
    private Student student;

    public void save(){
        System.out.println("dao.save...."+student);
    }
}
